
import { Tabs } from 'antd';
import Lazy from 'components/Lazy';
import styles from './index.module.less';

/** 对象管理 */
export default function ModelManagement() {
    return (
        <div className={styles.modelManagement} >
            <Tabs
                size='small'
                defaultActiveKey="1"
                className={styles.tabs}
                destroyInactiveTabPane
                items={[
                    {
                        label: `列表`,
                        key: '1',
                        children: <Lazy factory={() => import('./ui/ObjectList')} />,
                    },
                    {
                        label: `属性`,
                        key: '2',
                        children: <Lazy factory={() => import('./ui/Property')} />,
                    },
                ]}
            />
        </div>
    )
}

